//
//  TabExampleViewController.m
//  TabExample
//

#import "TabExampleViewController.h"

@implementation TabExampleViewController

- (void)viewDidLoad {
    [super viewDidLoad];
	
	tab1 = [[Tab1Controller alloc] init];
	tab2 = [[Tab2Controller alloc] init];
	tab3 = [[Tab3Controller alloc] init];
	tab4 = [[Tab4Controller alloc] init];
	tab5 = [[Tab5Controller alloc] init];
	tab6 = [[Tab6Controller alloc] init];

	NSArray *arrTabs = [NSArray arrayWithObjects:tab1, tab2, tab3, tab4, tab5, tab6, nil];
	[self setViewControllers:arrTabs animated:YES];
}

- (void)dealloc {
	[tab1 release];
	[tab2 release];
	[tab2 release];

    [super dealloc];
}

@end
